import numpy as np
import pandas as pd

a = pd.Series([1,2,3,4])
b = pd.Series([5,6,7,8,], index=['a','b','c','d'])
c = pd.Series(np.arange(4))

print(a)
print(b)
print(c)

print(b[2])
print(b + 2)
print(b + b)
print(b['c'])
print(b[['a', 'c']])
print(b['a':'c'])
print(b.index)
print(b.values)
